package com.village.friend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.village.friend.entity.ActivityJoin;

import java.util.List;

/**
 * <p>
 * 活动报名表 服务类
 * </p>
 *
 * @author yl
 * @since 2021-11-13
 */
public interface ActivityJoinService extends IService<ActivityJoin> {

    Integer insertOrUpdate(Integer activityId, Integer userId, Integer userIdJoin, Integer isJoin);

    Integer insertOrUpdateAgree(Integer activityId, Integer userId, Integer userIdJoin, Integer isAgree);

    List<ActivityJoin> getJoinList(Integer activityId, Integer offset, Integer limit);

    Integer getJoinCount(Integer id);
}
